From 343e0d2a1ff3e101967cf94e686a9f3ea188f6a9 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sun, 14 Sep 2025 11:34:16 +0200 Subject: [PATCH] Fix FTBFS on ppc64el with gcc-15 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/pull/5409/commits/a3b9c933c59809027937c7708e1d996988c112f2 Bug: https://github.com/OpenMathLib/OpenBLAS/issues/5372 Bug-Debian: https://bugs.debian.org/1114016 Reviewed-by: Sébastien Villemot Last-Update: 2025-09-14 The test failures are caused by incorrect clobber rules in asm inline statements. This patch is only a temporary workaround until a permanent fix is found. Last-Update: 2025-09-14 Gbp-Pq: Name ppc64el-gcc-15.patch --- kernel/power/dgemv_n.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/power/dgemv_n.c b/kernel/power/dgemv_n.c index ac365b3..303d960 100644 --- a/kernel/power/dgemv_n.c +++ b/kernel/power/dgemv_n.c @@ -147,7 +147,7 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha, FLOAT *a, BLASLO BLASLONG m3; BLASLONG n2; BLASLONG lda4 = lda << 2; - FLOAT xbuffer[8] __attribute__ ((aligned (16))); + volatile FLOAT xbuffer[8] __attribute__ ((aligned (16))); FLOAT *ybuffer; if ( m < 1 ) return(0); -- 2.30.2